package com.lizard.schedule.net.http.consts;

/**
 * server响应编码 对应response通用字段returnCode
 */
public class ReturnCode {

    /*----------------------系统响应码---------------------*/

    /**
     * 成功
     */
    public static final String SUCCESS = "000000";

    /**
     * 请求参数不完整或不正确
     */
    public static final String PARAM_ERROR = "000001";

    /**
     * 系统内部错误
     */
    public static final String SYSTEM_ERROR = "000002";

    /**
     * 请刷新重试
     */
    public static final String TRY_REFRESH = "000003";

    /**
     * Token为空
     */
    public static final String TOKEN_IS_NULL = "000004";

    /**
     * Sign为空
     */
    public static final String SIGN_IS_NULL = "000005";

    /**
     * Sign不正确，不可靠请求
     */
    public static final String SIGN_ERROR = "000006";

    /**
     * Token过期
     */
    public static final String TOKEN_EXPIRE = "000007";

    /**
     * 请到body体中获取message
     */
    public static final String MESSAGE_IN_BODY = "008888";


    /*----------------------业务响应码---------------------*/

    /**
     * 用户名已存在
     */
    public static final String USER_NAME_EXIST = "010001";

    /**
     * 原始密码错误
     */
    public static final String ORIGINAL_PWD_ERROR = "010002";

    /**
     * 用户不存在
     */
    public static final String USER_NOT_EXIST = "010003";

    /**
     * 用户已禁用
     */
    public static final String USER_FORBIDDEN = "010004";

    /**
     * 用户名密码错误
     */
    public static final String USERNAME_OR_PWD_ERROR = "010005";

    /**
     * 提交参数不能为空
     */
    public static final String PARAM_NULL = "020001";

    /**
     * 传入计划版本号有误
     */
    public static final String PARAM_PVERSION_ERROR = "020002";

    /**
     * 第三方登录验证失败
     */
    public static final String THIRD_LOGIN_VERLIFY_FAILED = "030001";

}
